package com.service.wmt.impl;

import com.dao.HousestatusDao;
import com.entity.Housestatus;
import com.service.wmt.HouseStatusService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional
public class HouseStatusServiceImpl implements HouseStatusService {

    @Resource
    private HousestatusDao housestatusDao;

    @Override
    public List<Housestatus> findAll() {
        return housestatusDao.selectByExample(null);
    }
}
